﻿using System;
using System.Web.Mvc;
using BabyShop.WebSite.Foundation;
using BabyShop.WebSite.Models;

namespace BabyShop.WebSite.Areas.SysManage.Controllers
{
    public class BaseController : Controller
    {
        protected PersistentDataContainer CurrentStore {
            get { return PersistentDataContainer.Current; }
        }

        protected User CurrentUser
        {
            get { 
                return new User {Account = "admin",UserGuid = new Guid("DD11FBDD-8781-4156-AE78-DED569A6F52F")};//CurrentStore.Read<User>("CurrentUser"); 
            }
        }
    }
}
